#include <cctype>
#include <iostream>
#include <string>
#include <vector>

using namespace std;

int main() {
    string ret;
    vector<string> in(100);

    for (auto& i : in)
        cin >> i;

    for (int i = 0; in[i].size() != 0; ++i)
        ret += toupper(in[i][0]);

    cout << ret << endl;
    
    return 0;    
}
// 64 位输出请用 printf("%lld")